<template>
  <el-container>
  <el-header>
    <div>MAP | 惠农 现代管理系统</div>
    <div><span>消息</span><span>|</span><span>农场主</span><span>退出</span></div>
  </el-header>
  <el-container>
    <el-aside width="200px" >
      <el-menu background-color='rgb(20,38,51)'>
        <el-menu-item index='1'>首页</el-menu-item>
        <el-menu-item index='2'>可视化大屏</el-menu-item>
        <el-submenu index='3'>
            <template slot='title'>精准气象</template>
            <el-menu-item index='3-1'>天气预报</el-menu-item>
            <el-menu-item index='3-2'>灾害预警</el-menu-item>
        </el-submenu>
        <el-submenu index='4'>
            <template slot='title'>数字农场</template>
            <el-menu-item index='4-1'>数字农场</el-menu-item>
            <el-menu-item index='4-2'>人员管理</el-menu-item>
        </el-submenu>
        <el-menu-item index='5'>首页</el-menu-item>
        <el-menu-item index='6'>首页</el-menu-item>
        <el-menu-item index='7'>首页</el-menu-item>
        <el-menu-item index='8'>首页</el-menu-item>

      </el-menu>
    </el-aside>
    <el-container>
     <router-view>

     </router-view>
    </el-container>
  </el-container>
</el-container>
</template>

<script>
export default {

}
</script>

<style>
.el-container{
  width:100%;
  height:100%;

}
.el-header{
  background: #13434e;
  color:#fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding:0 20px;
}
.el-header div{
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.el-header div span{
  margin-left: 5px;
}
.el-aside ul{
  height: 100%;
}

element.style {
  background-color: #13434e;
  /* background: #13434e; */
}
.is-active{
  color: #173d47;
  background-color: #13434e !important;
  border-right: 2px solid #52e1dc !important;
}
</style>